package com.asnike.P.bejeweled{
	import com.greensock.TweenMax;
	import com.greensock.easing.*;
	
	import flash.display.*;
	import flash.filters.*;
	import flash.system.ApplicationDomain;
	import flash.utils.getDefinitionByName;
	
	public class GameView extends Sprite{
		
		include 'view/inGame.as';
		include 'view/gameTitle.as';
		
		static private var JEWEL_REMOVE_DURATION:Number;
		static private var SELECT_FILTER:GlowFilter;
		static private var JEWEL_SHIFT_DURATION:Number;
		
		public function GameView(){
			super();
		}
		internal function init( $jewelShiftDuration:Number, $jewelRemoveDuration:Number, $jewelSelectEffect:Object ):void{
			JEWEL_SHIFT_DURATION = $jewelShiftDuration;
			JEWEL_REMOVE_DURATION = $jewelRemoveDuration;
			SELECT_FILTER = getSelectFilter( $jewelSelectEffect ) as GlowFilter;
		}
	}
}